package com.woniu.user.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu.user.controller.form.CheckTimeForm;
import com.woniu.user.model.Coach;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.user.service.dto.CoachInfoDto;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 教练特有信息表 服务类
 * </p>
 *
 * @author Silas
 * @since 2023-02-15
 */
public interface CoachService extends IService<Coach> {

    void beCoach(Coach coach);

    void setStyle(int accountFromToken, String style);

    Page<CoachInfoDto> query(String condition, Integer current, Integer size);

    IPage<CoachInfoDto> findAll(Page<Coach> pageInfo);

    void checkTime(CheckTimeForm form, Integer userId);

    List<Coach> myCoach(Integer venueId);
}
